.root {
  --root-background: #f1f3faf5;
  html[data-theme='dark'] & {
    --root-background: #010205f8;
  }
  &::before {
    content: '';
    background-image: url('/img/banner.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(1);
    html[data-theme="light"] & {
      filter: grayscale(1) invert(1);
    }
  }
  min-height: calc(100vh - 60px);
  position: relative;
}

.rootOverlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--root-background);
}

.heroBanner {
  padding: 1rem 1rem 0 1rem;
  position: relative;
  overflow: hidden;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.title {
  background-color: rgba(108, 108, 233, 0.25);
  padding: 4rem;
  display: block;
  width: 100%;
  text-align: center;
  position: relative;
  > h1 {
    letter-spacing: 2px;
  }
}

.main {
  display: flex;
  gap: 8rem;
  overflow: visible;
}

.content {
  text-align: right;
  max-width: 800px;
  justify-content: center;
  display: flex;
  gap: 4rem;
  flex-direction: column;
  @media screen and (max-width: 1024px) {
    & {
      text-align: center;
    }
  }
}

.subtitle {
  line-height: 1.4;
}

.features {
  padding-right: 0;
  list-style-type: none;
  font-size: 20px;
  font-weight: bold;
  color: var(--ifm-font-color-base);
}

@media screen and (max-width: 966px) {
  .heroBanner {
    padding: 2rem;
  }
}

.screenshot {
  --offset-top: 4rem;
  margin-top: calc(-1 * var(--offset-top));
  max-height: calc(100vh - 350px + var(--offset-top));
  overflow: hidden;
  z-index: 10;
}

.screenshotContainer {
  position: relative;
  @media screen and (max-width: 1024px) {
    & {
      display: none;
    }
  }
}

.screenshotOverlay {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  background: linear-gradient(transparent 50%, var(--root-background));
}

.button {
  font-family: var(--ifm-font-family-base);
}

.buttonsGroup {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  @media screen and (max-width: 1024px) {
    & {
      align-items: center;
    }
  }
}
